package cn.cxion.chat.app.view;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.makeramen.roundedimageview.RoundedImageView;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;
import cn.cxion.chat.R;

public class CheckContentView {

    @Bind(R.id.img_photo)
    RoundedImageView imgPhoto;
    @Bind(R.id.img_state)
    ImageView imgState;
    @Bind(R.id.tv1)
    TextView tv1;
    @Bind(R.id.tv2)
    TextView tv2;
    @Bind(R.id.tv3)
    TextView tv3;
    @Bind(R.id.tv_time)
    TextView tvTime;
    @Bind(R.id.ll_onhand)
    LinearLayout llOnhand;
    @Bind(R.id.divide)
    ImageView divide;
    @Bind(R.id.circleimg)
    CircleImageView circleimg;
    @Bind(R.id.tv_process_state)
    TextView tvProcessState;
    @Bind(R.id.content_tv1)
    TextView contentTv1;
    @Bind(R.id.content_tv2)
    TextView contentTv2;
    @Bind(R.id.content_tv3)
    TextView contentTv3;
    @Bind(R.id.content_tv4)
    TextView contentTv4;
    @Bind(R.id.img_talk)
    ImageView imgTalk;
    @Bind(R.id.ll_checkcontent)
    LinearLayout llCheckcontent;
    @Bind(R.id.tvTopLine)
    TextView tvTopLine;
    @Bind(R.id.tvDot)
    TextView tvDot;
    @Bind(R.id.tvLine)
    TextView tvLine;
    @Bind(R.id.img_state2)
    ImageView imgState2;
    @Bind(R.id.rlTimeline)
    RelativeLayout rlTimeline;
    @Bind(R.id.process_tv1)
    TextView processTv1;
    @Bind(R.id.process_tv2)
    TextView processTv2;
    @Bind(R.id.process_tv3)
    TextView processTv3;
    @Bind(R.id.process_tv4)
    TextView processTv4;
    @Bind(R.id.ll_process)
    LinearLayout llProcess;
    @Bind(R.id.ll_hold)
    LinearLayout llHold;
    private View view;
    private Context context;

    public CheckContentView(Context context) {
        this.context = context;
        view = LayoutInflater.from(context).inflate(R.layout.itemview_onhand, null);
        ButterKnife.bind(this, view);
        init();
    }

    public View getView() {
        return view;
    }

    private void init() {
        llOnhand.setVisibility(View.GONE);
        llCheckcontent.setVisibility(View.VISIBLE);
        llProcess.setVisibility(View.GONE);
        contentTv1.setText("海翼集团");
        contentTv3.setText("发起人：大熊");
    }

    @OnClick(R.id.img_talk)
    public void onViewClicked() {
    }
}
